package com.dev.service.impl;

import com.dev.service.ICustomService;

import java.math.BigDecimal;

/**
 * @author : fujc-dev@qq.com
 * @motto : talk is cheap, show me the code. salute the future!
 */

public class CustomServiceImp implements ICustomService {
    @Override
    public String get() {
        double usedMemory = Integer.valueOf(1);
        double allMemory = Integer.valueOf(1);
        double f1 = new BigDecimal(usedMemory / allMemory).setScale(2, BigDecimal.ROUND_HALF_UP)
                .doubleValue() * 100;
        return null;
    }

    @Override
    public String getId() {
        return null;
    }



}
